package lormi.meipin.entity;

import java.util.Date;

public class Environment {
    private Integer id;

    private Integer merid;

    private String pictureurl;

    private Date createtime;

    private Date updatetime;
    
    public Environment() {
		super();
	}

	public Environment(Integer merid, String pictureurl) {
		super();
		this.merid = merid;
		this.pictureurl = pictureurl;
		this.createtime = new Date();
		this.updatetime = this.createtime;
	}

	public Environment(Integer id,Integer merid, String pictureurl) {
		super();
		this.id = id;
		this.merid = merid;
		this.pictureurl = pictureurl;
		this.createtime = new Date();
		this.updatetime = this.createtime;
	}

	public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public Integer getMerid() {
        return merid;
    }

    public void setMerid(Integer merid) {
        this.merid = merid;
    }

    public String getPictureurl() {
        return pictureurl;
    }

    public void setPictureurl(String pictureurl) {
        this.pictureurl = pictureurl == null ? null : pictureurl.trim();
    }

    public Date getCreatetime() {
        return createtime;
    }

    public void setCreatetime(Date createtime) {
        this.createtime = createtime;
    }

    public Date getUpdatetime() {
        return updatetime;
    }

    public void setUpdatetime(Date updatetime) {
        this.updatetime = updatetime;
    }
}